import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

// 创建Pinia实例
const store = createPinia()
store.use(piniaPluginPersistedstate) // 持久化插件

export default store